package com.ruoyi.test_emp.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 员工测试对象 test_emp
 * 
 * @author ruoyi
 * @date 2021-10-03
 */
@TableName("test_emp")
public class TestEmp 
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer empno;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ename;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String job;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer mgr;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date hiredate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal sal;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal comm;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer deptno;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setEmpno(Integer empno) 
    {
        this.empno = empno;
    }

    public Integer getEmpno() 
    {
        return empno;
    }
    public void setEname(String ename) 
    {
        this.ename = ename;
    }

    public String getEname() 
    {
        return ename;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setMgr(Integer mgr) 
    {
        this.mgr = mgr;
    }

    public Integer getMgr() 
    {
        return mgr;
    }
    public void setHiredate(Date hiredate) 
    {
        this.hiredate = hiredate;
    }

    public Date getHiredate() 
    {
        return hiredate;
    }
    public void setSal(BigDecimal sal) 
    {
        this.sal = sal;
    }

    public BigDecimal getSal() 
    {
        return sal;
    }
    public void setComm(BigDecimal comm) 
    {
        this.comm = comm;
    }

    public BigDecimal getComm() 
    {
        return comm;
    }
    public void setDeptno(Integer deptno) 
    {
        this.deptno = deptno;
    }

    public Integer getDeptno() 
    {
        return deptno;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empno", getEmpno())
            .append("ename", getEname())
            .append("job", getJob())
            .append("mgr", getMgr())
            .append("hiredate", getHiredate())
            .append("sal", getSal())
            .append("comm", getComm())
            .append("deptno", getDeptno())
            .toString();
    }
}
